package tmt.usercenter.web.repository;

import com.tmt.jpa.jpaservice.ITmtBaseRepo;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import tmt.usercenter.web.domain.SystemParam;


/**
 * tmt.ss.honghe.mall.repository.ILinkRepo
 *
 * @author Stark
 * @date 2018/3/7
 */
public interface ISystemParamRepo extends ITmtBaseRepo<SystemParam, Long> {

    @Query("select t from SystemParam t where t.paramCode = :paramCode")
    SystemParam findByParamCode(@Param("paramCode") String paramCode);
}
